Use null instead of undefined in the callback