Fixed val bug -> value