fixes on coalesce