Changed smooth level into lock idx