simulation fix
sim fix2
Merge branch 'pdasim'