bug fix : pandas does not play nicely with pandas