sprintf error
Moved 'snprintf' to 'sprintf' due to my wishes