removing unecessary rubies