correction of actual diferent from expected
code style refactored base on checkfile.sh