Fixed bug in execCommandList