fixed mySub reference issue