fix selected item for target
fixed problem - when layer was got from compile target not from depend