repair 'source command bug'