fixed bug on storageTarget existance check