fix #525