Fixed #399.