fixed area.cpp