fixes wsod and changes the interface