check if plugin was already loaded using if exists