fixed errors now working in irb