lame bugfix in model