Minor bugfix, check that @code is not nil before downcase.