fixed zero cost issue