fixed bug: get http500 if enable.index isn't set