Do not use "my" function and "if" pragma at the same time. bugid:110913