Fixed lb_init errorhandling