fix some code climate issues