small clean up in bash template