log bug fixed, used post method