Fixed bug with SourceFactory consuming first 3 chars