fixed a bug for the views wehre there is no notify attribute