fixed #916