final fix for jquery validate