fixed bug in sending message, reviewed selector creation process