refactoring
add checking before send values
fix ace
add routing for static