redesign br
fixed failed spec and added debug gem