check if checkbox exists and move things to init