fixed ticket #77