Deal with inaccurate input