Removing unallowed dependency