Fixed classpath; 
Fixed failure on fragment detach.