Interest to lateral details of the solar filament shape named barbs, motivated by their relationship to filament chirality and helicity, showed their different orientation relative to the expected direction of the magnetic field. While the majority of barbs are stretched along the field, some barbs seem to be transversal to it and are referred to as anomalous barbs. We analyse the deformation of helical field lines by a small parasitic polarity using a simple flux rope model with a force-free field. A rather small and distant source of parasitic polarity stretches the bottom parts of the helical lines in its direction creating a lateral extension of dips below the flux-rope axis. They can be considered as normal barbs of the filament. A stronger and closer source of parasitic polarity makes the flux-rope field lines to be convex below its axis and creates narrow and deep dips near its position. As a result, the narrow structure, with thin threads across it, is formed whose axis is nearly perpendicular to the field. The structure resembles an anomalous barb. Hence, the presence of anomalous barbs does not contradict the flux-rope structure of a filament.