fix params problem w location model