Fix bugs in default tip setting