Kotlin fixes

- method invocation
- lambda function closures for mutable variables