Error printing int and str