Small changes to debug.