fixing bug in mvc\application