Fixed an initialisation bug with DAL