fixes in fk template