made fix to pub