auto detect and decide 500 or 10000