fix the bug of front end
add json view to all the operations