fixed an error in vidalin