Left PIR state transition not working