third AMENDMENT TO CREDIT AGREEMENT