removed error checking since it was breaking some applications.