Fixed Bug with public members