fix inline model