log problem if needed