ran hlint, fixed style errors