improving DetailFit and removing obsolete CompFit