fixing get/post