fixes in model