fix #3804