Fixed parent call
Fixed registration and some exceptions