bug fix on footer buttons