fixed scoping error with footer trigger init not working after file load