loan calc debug