raising exception if invalid side-load