more object stuff

fixed all the errors I found