fix getsurface func