fixed reject/accept buttons not using post method