fix for literal access to array for PHP 5.4