finally fixed outputrecording\!