fix #576