PHP 5.3.10 compatibility mod

Removing array_keys 0th element select on declaration for compatibility with php 5.3.10