Fixed typo and CoreLocation import