fixed viewport error message