remove unused flag in rendered code