fix bug in agl order system
fix bug with getModifiedFields