fix db for api 15
fix layouts for api 15

Signed-off-by: constpetrov <constant.petrov@gmail.com>