A wanna-be bank robber was arrested after getting trapped between the double glass doors of a Pittsburgh, Pennsylvania Citizens Bank when a quick thinking employee activated the built-in safety measure.

The man, whose name hasn’t been released, had no trouble getting the dough from a teller, but when he tried to walk out the front door, another employee pressed a button that trapped him between two glass exit doors. Frustrated with an automatic door that wouldn't open; he began bashing his head against the glass, resulting in damage to both the door and his skull.

For the record, it’s not like he didn’t have fair warning: There's a sign on the door that reads "Enter one adult at a time, this door is a protection against robberies."