Hello why is dex getting wrong calculations