fix error on view import