Fixed lack of sep argument on scan() function