fixed scratch repo