Khattak tenders apology for using foul language