test of by file extension and bug fix