fixed dotnav hooks in themes