Fixed #302.