fixed unitialized in .rb files