proper fix for once.pm bug? hopefully it works :)