Fix random fnc