footer added & fix for unpublished