fixed importing of categories