fixed #362

fixed #362