Table MVC model bug fixing