Revert "fix DisplayType error when editing a VM"

This reverts commit 9a0cd43934dd2771d0f3a8e08777f5eac58f2497.
fix DisplayType error when editing a VM