fix importing of categorical values