remove container\nfix resize function