He should have had the gun in a holster instead of a drawer.
He should have shot the 3rd perp that pretended to ask if he was OK, then he stole the clerks gun.