Fixed error in getMessage() in DBpipeline