check `fn` is set