minor bugfix in create_mask.f90