bug fix for pest register