fixed bug: convert string to boolean is always True
adjust createCategories position.