locked better errors to ruby >1.9