Fixed a bug causing fatal error on install page.