changed default public error directory to singular