Solve getMessage command issues