bug with mail waiting fixed