added root path to post view