fixed error logging info causing runtime error