fixed and updated stall proofing subroutine