Fixed running bug