Solves problem with model on initializer