MPL and apply_if trouble