fixing bug with api.session + bump 0.0.12 fixes #3