adjust size field properly on remove