fix pub returns pub