fixed accounts.params parse error, room.old undefined error