Fixed 4 problems of the sc2-cookie project