safe convertion patch