fixed simulation bug by modifying input file