fix include format function