missing parameter in filter
use debug instead of log, fewer messages
trenddisplaytime wont work if its a string