Fixing code for call log