Fixed duplicate error code