fix simulation delay to database
remove pyc