small fix for cases when we call method sin console