fixed kbase id parsing