if no error call with `null`