fixed creating and updating chapter without quiz assigned