improvements for FlxTrail