Fixed an overlap bug