added more info to error msg