Fixed bug in verify function with missing options and existing callback function