Fixes function, rand, display, lambda, comparison errors