checking for max db sizes for descriptions
fixed some small things