fixed "[]" to array() (support PHP 5.3)