fixed issue where array bracket notation threw errors on my server