added custom_room check in packet