bug close button template
fix callbacks