fix bug (caused by version 5.2.x)