fix error that prevented loading