Fixed the approve/reject merthod