remove period at the end of categories