bugfix source undefined