fix tetris inheritance bug