fix not initialised important flag in detail view