finilization for Scene2P.java