Fixing required check