added fix for preview mode "admin" on cached pages #258