fix for metro apps