Removing useless $global