fixing the always show error