fix to manifest and main for json