fixed location manager, still need to test