added freesurface interface, fixed bug game over