fixed concat file bug