fix bug : add a missing if (x != null) due to dartemis upgrade
add progress controller