fixing controller paths