fix previous by another way