fixed code climate issues

double-quotes, missing semicolons, missing {} etc.