solved interrupt handle bug, but still not working