Updated fittext to be AMD compatible