fixed a callback on request issue