Because Kotlin plugin mentioned twice I have uninstall the Kotlin plugin and restarted the ide and now it works.