PHP 7 compatibility
Remove unused variable