getDetails second error fixed