corrected $defthumb for remoute server
fix some notice