Correct sprintf usage in Controller