clean&format code