fix pre-final problem