fixes chaloner/deadbolt#12