Bug fixed for source attribute