SIXTH AMENDMENT AND WAIVER