plug some prc command bugs