DRY it up a little