improving gamelogic
layout bug fixed