Fixing minimun errors