issue was not returning a string inside index