remove print and fixed post method