fix bugs of hgfiller, writers