[imp]:raise warning instead of error