fix bug in Rest API folders show