Pointer fix

Fixed a pointer to a proper Location