fix autoloader : part 2

Signed-off-by: Stefano Azzolini <lastguest@gmail.com>