code climate issues
fixing some code climate issues