Fixed weird php '[' error