fixed error in reference .rb