few bug fixed, added control of fire rate