Fixes KMP