fixing bug where a diamond collector may use word that is reserved in ruby