fixed resourcePath for controllers