fix bug in JS
fix bug in resolution
better protection for delete