Remove an extra comma from controller