added prev fix