Fixed error with default location