Fixed bug / undefined index when api settings are empty