fixed bug that prevented loading formats