removes unused const
cleans up code style