fixed some issues with chord template