Fixing required flag