reproduce maxrun bug