fix #43 

(appears to be an ancient bug, but there was a part of code until this weekend, which never supposed to work, but worked and because of that bug and saved the whole thing)