fixed small logerror error