fix the area bug