Updated titles json format and fixed some bugs