fragments now initialize correctly