fixed scanf