fixed bug on calling _admin inside publish functions