Handling Error case and commented css