file stream bug is removed