simulation bugs fixed