another horrible hack (please forgive me)