Added db type fix and size fix to the sample theme file.