fix order of model an change directive