attempted fix of sms received functions