add NSParameterAssert for block