Fixed initial bugs, found workaround for not accessible local value