[fx] small code cleaning