Fix locationRest, autowire must lead to the interface