Remove debug
Fix rubocop warnings