add more information when method fails