Fixed bug with prependDriver

Driver was defaulting to default value despite n being defined. Value of hidden form was never being updated.