cleaned up some debugging