important bug fix, more info in readme.txt