Fixed bug of negative area