Make sure variables exists when put on queue