fixed a small callback type