fixing bug in mvc config