fixed model might be null for layout and curve project