fixed issues with edit customer template