made picimport work for categories