unsure if this is a bug or a limitation of kotlin Java  Kotlin 