added recalculate frame for CDS guys