refactor remove unused const