Fixed incorrectly reference device definition