resolve all ide errors and filter works, loc not work