fix bugs on receiver template and calculations on projects