some fixes for the pre files