footer deprecated error fixed