Add missing 'flag' parameters. Delete an empty line