fixed coordinate error