check sprintf dependency