finally discovered how to overwrite files with themes. Remove footer in the the aftercontent file.