temporary workaround for legions