improved kha.app.src