fixed "No view definition found"