fix hlint issues