Added an asweoms fix to the code