fixing model properties