Fix Maximum call stack size exceeded
error
#1386
Merged
Maximum call stack size exceeded
error
#1386