kotlin variable fix for var/val