Fix panel variable for publish