make scanf work