fixed exp bug