Empty array problem, for heroku