fix font handling