added fix for controller paths in modules