fixed the required styling errors