removes "published_languages" field and fixes some migrations

fixes #2527