minor fix for invalid input handle