fixed wrong initialisation of hatch creation error