fix building filter