fixed output file bugs
Merge branch 'develop'