fixed download routine to return correct boolean