fixed autoloading issues when not using the optimization flag