properly check flag delta