fixed rprompt issue