This pr #1643 could solve this problem.