fixed a bug in receiving mms