fixed checking of fromUser is null