adjust bg for frontend