I mistakenly used %s instead of %@ in the string formater