Fix some obvious errors