fixed coalesce so it compiles