fixed to issue #49 though it looked fine for me