bugs fixed in fakesource.cpp