Fixed the problem with paired variables