fixed some bugs in didisigner