stdio error fixed