This fixes a bug

the handler