fixed coordinate init check logic