change array syntax to be compatible for PHP 5.3