fixed comma causing sql error