Please move that statement up, to after functions.php require.