fixed ALL the errors, thanks Dave