correct scanf expression