corrected conditional for origami initialisation