fix flexible footer