Remove panic. Resolve #12