bug fixes, use final input file