modified print_coord(); to prevent locking up in certain countries