add intial rundep check. Thanks, @crosbymichael