bugfix for model paths