fixed dot operator on a non struct type error message.