fixes #TC-2779: multiple widgets won't build in the same app