Yes,

in the original is a bug:

int myTMF(){
if (VAR_LOCK == 0){