fix controller path issues