fixed problem related to snockets not supporting require_self