fix bug in creating  new room