dev settings
fix Kprogram calculation