Fixed error in pub