Fixed function not running.