fixed defines by adding session variable