Update Flat.php

fixes issue #2