improve the warning