Hotfix/remove needless definition of height of devices

Duplicate definition ``height_of_device``.