How to handle colleagues especially seniors/superiors who generally do not contribute much towards a project, but jumps from nowhere at the correct time to take credits.