log simulation bug fixed
print statement removed