fixed a bug in watchmail