fixing tab/space errors and ecosysteminput call