remove required flag fixes #527