improved logging when unexpected type is encountered
removed extra logging that was not helpful