removed some debugging printfs
fixed local resize issue