fixed initialization

commented out problematic code
rubocop fixes