precompile with delete button