a bug with pub