Make possible to have no folder without returnig weird errors