fix #1542

#1542