minor changes

minor changes in engine