fix #893 (#894)