fix #2492