Fixed print_location