fix(warnings): code climate warnings