added workaround for karma