get rid of unnecessary console window