fix #2 - errors array