fixing some extend calls