fix scanf %d