found bug and fix