fixing bad behavior of amount text on entity pages