fixed post view apiUrl error