fix y.log call to warn