handling exception in init