fixed #343