kill and cd improvment