fixed a bug blocking download