Fix error for init labels and stack over flow