fixed

function for freeform