Fixed syntax error in streams module