fixed some parsing issues on coordinates