square errors

fixes