fixed debug print to a long type.