changed resize param