Fixed a bug in folders