fix a overlap bug