Kotlin : Castor query mode undefined