refactor code indent