add precent 100 limit and db script