fix debug output
fix deleting filenode