clean up hlint warnings