One more logic error