add allow unsafe blocks to release build