Fixed Khan bug in Safari