add autoload instruction
remove extra debug code