bugfix: autoload failed if used as composer dependency