fixed #354.