fix bug setting Model prefix
really fix model prefix
better test for model prefix