fixing missing Y.quit