tried to solve loc-service syntax error 1