I just executed your code and got two error messages.
Something is wrong with your code.
Maybe you didn't declared the tgas.
Please don't post useless code to the forum, thanks in advance.