query error fixed, modified link