pass options to invalid callback