remove duplicate import and fix formatting