dovecot shared mailbox subfolders not showing

ok, i solved it somehow. it seems that emclient only gets top level folders of shared mailboxes. i had to move all subfolders from INBOX to ROOT in order to show correctly. just in case anyone has this same problem in the future