fixed resize issue when adding/removing calcs