Fix templates
remove useless require
repo entity
remove unecessary import