can't use postconstruct because bundle is not initialized yet