small err log fix