Notice error removed

Notice error removed when domain extension not specified.