fix related bill clearing issue, close #1