index and upload bean fixes - binding input to var and fetching value for method call.