use erase_background helper instead rewrite one