fix dex accepted calc