fixing codeclimate, small issues -- strike two