fixed issue 285