getMessage missing method fix