fixed unused import
fixed a bug with shared apps