changed decimal to int in db