reducing querries, remove cached templates, pill style adjust