hoise selectLatestNightly var declarations before using them