fixed scanf() controlled