Kotlin extension is causing this issue. Since kotlin synthetics is depreciated the behaviour is occurring. Just by simply removing synthetics and replacing with view binding resoled the problem.