fix cursor pointer