fixed a conern case for bad access toekn