change post to panel