updated...
fix minor bugs for fxml