Fix bug about y domain - #317