A bit more detail would help. In particular, how are you loading My_mod? Also see this comment.
My_mod