allow bundle to work without doctrine