bugfix in debt log form