remove bottle index and fix when NL has error