some changes to be made in log if right subject doesnt exist