changed some messages from error to warn