removed background mode flag