fixing errors/spacing