fixed href empty and added download support near to be finished