fix post when callback is given as second argument
0.5.1