fix typehinting, remove unused command