fixed missing return pub