remove optimize safety declaration