fixed compilation
connect controller & service