fix save coordinate