Fix error with initilisation