add plate coordinate fix function