fix viewport declaration