fix label not found errors