Removed wrong dependency check