BUG: fixed a bug in the recip.py adfter changing keys_core