Fixed a minor bug with imperatives