correcting model damaged by optimize imports.