 After a contract dispute with the Disney company over likeness  rights, Robin Williams (I) (qv) agreed to return for this film as  the voice of the Genie. As a result, many of the ideas and gags that  were not used in _Aladdin (1992)_ (qv) could be retried in the  making of this film.