delete crypto opt before storing in db