Fixed missed errors