fix bullet index problem