scanf %l now working fine