Fix whitespace and unused variable error