fix sidebar child pages bug