fix(filter): register first and last modules