fixed a bug about requesting method.