fix downloading