Fix registration jframe