fix to reject non-Hash object in input events