fix for nil value
added room to resource