fixed a bunch of flycheck errors