finally fixed the errors now going to take a break