fixes the open in background problem!