fix registration
fix search