fix bug in the subject rule