delete check fix #133 and category check fix #134