bugfix: source check on init time