Fixed crash when sending PM