fixed a few minor things