removing redundant flag