fixed errors4