Rm deploy & entity dependency