remove array dereference, make okay for php 5.3