fixed bugs, add sub category