string fix

sprintf() phased out