Fixed as per Paul's comments