fixed debug handling for pljava