fix 'POST required' problem