fixed some dumb stuff