fix __setattr__ method, and add setters an getters for warnings property
add *ars and **kwargs to set method
now render function is not a decorator
remove unnecessary spaces