Main bug fixed
Variables presense check completed;