fixed cost bug / discard obsolete files