fix the rbruntimerror