fixing some debugging