fix cut off results bug