Fix index on cmd and pkg
remove extra debug line