Circumvented palette code added by BEK which can cause an exception which breaks the plot server.