Fixes location response bug