Corrected a bug about accessing private room