diff --git a/resources/js/directives/storage.js b/resources/js/directives/storage.js
index <HASH>..<HASH> 100644
--- a/resources/js/directives/storage.js
+++ b/resources/js/directives/storage.js
@@ -157,7 +157,7 @@ zaa.directive('storageFileUpload', function($http) {
 			}
 			
 			scope.$watch(function() { return scope.ngModel }, function(n, o) {
-				if (n != 0 && n !== undefined) {
+				if (n != 0 && n != null && n !== undefined) {
 					$http.get('admin/api-admin-storage/file-path', { params: { fileId : n } }).success(function(response) {
 						scope.fileinfo = response;
 					}).error(function(response) {
@@ -216,7 +216,7 @@ zaa.directive('storageImageUpload', function($http, ApiAdminFilter) {
 			});
 			
 			scope.$watch(function() { return scope.ngModel }, function(n, o) {
-				if (n != 0 && n !== undefined) {
+				if (n != 0 && n != null && n !== undefined) {
 					$http.get('admin/api-admin-storage/image-path', { params: { imageId : n } }).success(function(response) {
 						scope.imageinfo = response;
 						scope.fileId = response.file_id;
fixed image request bug where image or file is null