fixed previousAttributes for initial set of attributes