undid some stuff and got it working again