clean up the code with hlint