fix area calculator