Sender function issue fixed