Fixed some stupid mistakes (mine)