method split in view before fixing json parsering