created fxml helper
fixed game line bug