fixed issue #63 - side bugs fixed