fix for having dots as function end