fixed settings to models relation