reimplement gd downloading. and now it works=)