styling and error fix