fix interactive bug