fix formatting and tabs