added in a fix for medallion.