Removed duplicate drawing of profiles