fixed trends bug