Fixed crash when there're no variables