add bg and fix some problem