add favorite button
add debug gem
fix bug