Fixed cape-related stacktrace in the console