Fixed Location.java class