Quick fix to KMAD.