Fix empty area bug