bug fixing for pest register