fixed null argument in verify