Bugfix on mvc