Fixed transactions,added some parameters on controller