fixed 'Detect' graph size