Primarily fixing errors in debugging.