format
NPE protection
bug fixed, create instance commands in planlist were calling through to activity with same command id, leading to crash