alert on no data, append ? at url if missing