expanded error messages to give more information.