fix for reading manifest