fixing fatal errors regarding get vars