fix warnings + hlint