fixed subID bug