Fixed hlint errors