potential fix 2 for 2.45

potential fix
Merge pull request #5 from plasmatorture/patch-2

potential fix 2 for 2.45