fixing filter
add legend, fix edit and add new rake