bug fix for being called as output modifier

Signed-off-by: Jason Carney <jason@dashmedia.com.au>