fixed minor bug with dummy engine constructor