fixed footer and changed state