Fix calculate area error