Fix legacy profile compatibility