allow unsetting current resource/page