removing config and logger hooks