fixed bug on prefacesextion