fixed issue 286