fix bug in syncing assets