[reader] added a warning when using unnecessary flags