improve performance of rapidfire