Fixed bug where folder didn't exist